package com.pea;

/**
 * @author: xiew72119
 * @Description:
 * @since 2025-06-17 16:04
 */
public class Demo {

    private int count = 0;

    public Runnable getTask() {
        return () -> System.out.println(count++); // 实际捕获的是Demo.this
    }
}
